package com.ruoyi.consume.mapper;

import java.util.List;

import com.ruoyi.consume.domain.GraftinglabelApplyTemporaryCon;

/**
 * 嫁接签临时领用Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-27
 */
public interface GraftinglabelApplyTemporaryConMapper
{
    /**
     * 查询嫁接签临时领用
     *
     * @param graftinglabelApplyTemporaryId 嫁接签临时领用ID
     * @return 嫁接签临时领用
     */
    public GraftinglabelApplyTemporaryCon selectGraftinglabelApplyTemporaryById(Long graftinglabelApplyTemporaryId);

    /**
     * 查询嫁接签临时领用列表
     *
     * @param graftinglabelApplyTemporaryCon 嫁接签临时领用
     * @return 嫁接签临时领用集合
     */
    public List<GraftinglabelApplyTemporaryCon> selectGraftinglabelApplyTemporaryList(GraftinglabelApplyTemporaryCon graftinglabelApplyTemporaryCon);

    /**
     * 新增嫁接签临时领用
     *
     * @param graftinglabelApplyTemporaryCon 嫁接签临时领用
     * @return 结果
     */
    public int insertGraftinglabelApplyTemporary(GraftinglabelApplyTemporaryCon graftinglabelApplyTemporaryCon);

    /**
     * 修改嫁接签临时领用
     *
     * @param graftinglabelApplyTemporaryCon 嫁接签临时领用
     * @return 结果
     */
    public int updateGraftinglabelApplyTemporary(GraftinglabelApplyTemporaryCon graftinglabelApplyTemporaryCon);

    /**
     * 删除嫁接签临时领用
     *
     * @param graftinglabelApplyTemporaryId 嫁接签临时领用ID
     * @return 结果
     */
    public int deleteGraftinglabelApplyTemporaryById(Long graftinglabelApplyTemporaryId);

    /**
     * 批量删除嫁接签临时领用
     *
     * @param graftinglabelApplyTemporaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGraftinglabelApplyTemporaryByIds(Long[] graftinglabelApplyTemporaryIds);

    /**
     * 更新库存量表
     *
     * @param graftinglabelApplyTemporaryCon 嫁接签临时领用
     * @return 结果
     */
    public int updateAmount(GraftinglabelApplyTemporaryCon graftinglabelApplyTemporaryCon);

    /**
     * 更新领用状态
     *
     * @param graftinglabelApplyTemporaryId 嫁接签临时领用ID
     * @return 结果
     */
    public int updateConsumeStatus(Long graftinglabelApplyTemporaryId);

    /**
     * 退回操作
     *
     * @param graftinglabelApplyTemporaryId 嫁接签临时领用ID
     * @return 结果
     */
    public int updateApprovalStatus(Long graftinglabelApplyTemporaryId);
}
